Remove gdk_surface_get_root_coords as public api
authorMatthias Clasen <mclasen@redhat.com>
Mon, 25 Mar 2019 03:09:48 +0000 (23:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:14 +0000 (20:25 +0000)
We still need to keep the vfunc around, since the
fallback implementation for move_to_rect uses it.
So, a GDK backend must either have root coordinates
or implement move_to_rect.

docs/reference/gdk/gdk4-sections.txt
gdk/gdkinternals.h
gdk/gdksurface.h

index 9fde1ae28009f7baec42808e4fb45166f2a60965..bdd16ba830b89c42ff7fe85bf3a10d6d556dbf15 100644 (file)
@@ -264,7 +264,6 @@ gdk_surface_get_position
 gdk_surface_get_root_origin
 gdk_surface_get_frame_extents
 gdk_surface_get_origin
-gdk_surface_get_root_coords
 gdk_surface_get_device_position
 GdkModifierType
 GdkModifierIntent
index 1f91c1dd47e498d2f943fc29aa6a0b93379c8989..8f89e080677c9e79b9e7e0628c7a87736dc17f44 100644 (file)
@@ -341,6 +341,11 @@ GdkGrabStatus gdk_device_grab (GdkDevice        *device,
                                guint32           time_);
 void gdk_device_ungrab        (GdkDevice        *device,
                                guint32           time_);
+void gdk_surface_get_root_coords (GdkSurface *surface,
+                                  gint        x,
+                                  gint        y,
+                                  gint       *root_x,
+                                  gint       *root_y);
 
 
 G_END_DECLS
index 2ff71e62a69083d85a4098f06cb54528761799f4..32498101561f42583c7eaefe0c20536624b37717 100644 (file)
@@ -597,12 +597,6 @@ gint          gdk_surface_get_origin     (GdkSurface      *surface,
                                           gint            *x,
                                           gint            *y);
 GDK_AVAILABLE_IN_ALL
-void          gdk_surface_get_root_coords (GdkSurface     *surface,
-                                           gint             x,
-                                           gint             y,
-                                           gint            *root_x,
-                                           gint            *root_y);
-GDK_AVAILABLE_IN_ALL
 void          gdk_surface_get_root_origin (GdkSurface     *surface,
                                            gint            *x,
                                            gint            *y);